#include "strdruk.h"

#ifdef __cplusplus
#include <cstring>
#include <cstdlib>
#include <cstdio>
#else
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#endif

#define SIZE 10

int main(void) {
  char sour[] = "world!"; 
  char dest[20] = "Hello ";
    
  strncat(dest, sour, 1);
  
  fprintf(stdout, "After strncat()\n");
  drukPoZnaku(dest);
	
	strncat(dest, sour+4, 10);
  
  fprintf(stdout, "After strncat()\n");
  drukPoZnaku(dest);
  
  return 0;
}